DrawOneControl
CHANGED WITH THE APPEARANCE MANAGER
Draws a single control and any embedded controls that are currently visible in the specified window.
pascal void DrawOneControl (ControlHandle theControl);
theControl
- On input, a handle to the control you want to draw.
DISCUSSION
Although you should generally use the functionUpdateControls
to update controls, you can use theDrawOneControl
function to update a single control. If an embedding hierarchy exists and the control passed in has embedded controls,DrawOneControl
draws the control and embedded controls. If the root control for a window is passed in, the result is the same as ifDrawControls
was called.SEE ALSO
"Embedding Controls".WHEN THE APPEARANCE MANAGER IS NOT AVAILABLE
DrawOneControl
does not draw any embedded controls, because embedding hierarchies are not supported.